package where2go.sctu.com.zhiyou.entity;

import java.util.List;

/**
 * ProjectName: zhiyou
 * PackageName: where2go.sctu.com.zhiyou.entity
 * Created by 张某人
 * CreatedTime:on 2018/5/27   23:52
 * Description:
 */

public class Appraise {

    /**
     * msg : 查询成功
     * data : [{"commentClassId":258,"commentContent":"还可以","commentDate":1524998575000,"commentId":1,"commentImg":"","commentScore":3,"commentUser":{"userAvatarAddress":"20180417100924307-1965987240.png","userEmail":"123","userId":1,"userName":"婷婷","userNickName":"小可乐婷儿","userTelphone":"123"},"commentUserId":1}]
     * error : 0
     * allPage : 1
     */

    private String msg;
    private int error;
    private int allPage;
    private List<DataBean> data;



    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public int getAllPage() {
        return allPage;
    }

    public void setAllPage(int allPage) {
        this.allPage = allPage;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * commentClassId : 258
         * commentContent : 还可以
         * commentDate : 1524998575000
         * commentId : 1
         * commentImg :
         * commentScore : 3
         * commentUser : {"userAvatarAddress":"20180417100924307-1965987240.png","userEmail":"123","userId":1,"userName":"婷婷","userNickName":"小可乐婷儿","userTelphone":"123"}
         * commentUserId : 1
         */

        private int commentClassId;
        private String commentContent;
        private long commentDate;
        private int commentId;
        private String commentImg;
        private int commentScore;
        private CommentUserBean commentUser;
        private int commentUserId;


        public int getCommentClassId() {
            return commentClassId;
        }

        public void setCommentClassId(int commentClassId) {
            this.commentClassId = commentClassId;
        }

        public String getCommentContent() {
            return commentContent;
        }

        public void setCommentContent(String commentContent) {
            this.commentContent = commentContent;
        }

        public long getCommentDate() {
            return commentDate;
        }

        public void setCommentDate(long commentDate) {
            this.commentDate = commentDate;
        }

        public int getCommentId() {
            return commentId;
        }

        public void setCommentId(int commentId) {
            this.commentId = commentId;
        }

        public String getCommentImg() {
            return commentImg;
        }

        public void setCommentImg(String commentImg) {
            this.commentImg = commentImg;
        }

        public int getCommentScore() {
            return commentScore;
        }

        public void setCommentScore(int commentScore) {
            this.commentScore = commentScore;
        }

        public CommentUserBean getCommentUser() {
            return commentUser;
        }

        public void setCommentUser(CommentUserBean commentUser) {
            this.commentUser = commentUser;
        }

        public int getCommentUserId() {
            return commentUserId;
        }

        public void setCommentUserId(int commentUserId) {
            this.commentUserId = commentUserId;
        }

        public static class CommentUserBean {
            /**
             * userAvatarAddress : 20180417100924307-1965987240.png
             * userEmail : 123
             * userId : 1
             * userName : 婷婷
             * userNickName : 小可乐婷儿
             * userTelphone : 123
             */

            private String userAvatarAddress;
            private String userEmail;
            private int userId;
            private String userName;
            private String userNickName;
            private String userTelphone;


            public String getUserAvatarAddress() {
                return userAvatarAddress;
            }

            public void setUserAvatarAddress(String userAvatarAddress) {
                this.userAvatarAddress = userAvatarAddress;
            }

            public String getUserEmail() {
                return userEmail;
            }

            public void setUserEmail(String userEmail) {
                this.userEmail = userEmail;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserNickName() {
                return userNickName;
            }

            public void setUserNickName(String userNickName) {
                this.userNickName = userNickName;
            }

            public String getUserTelphone() {
                return userTelphone;
            }

            public void setUserTelphone(String userTelphone) {
                this.userTelphone = userTelphone;
            }
        }
    }
}
